package com.jcgyl.export.util.entity;
/**借助此对象封装Controller方法上有
 * @ResponseBody注解的方法的返回值,
 * 目的:统一返回值类,便于在页面上展示
 * 统一处理
 * */
public class JsonResult<T> {  
	  
    private int code;//状态码  

    private String msg;//信息  

    private Object data;//数据 

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
    
}